package com.salton123.soulove.sailfish.db

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.Index

/**
 * Time:10/8/21 5:59 PM
 * Author:
 * Description:
 */
@Entity(
    tableName = "dir_item", primaryKeys = ["dirName"],
    indices = [Index(value = ["dirName"], unique = true)]
)
data class DirItem(
    @ColumnInfo(name = "dirName") var dirName: String = "",
    @ColumnInfo(name = "createdAt") var createdAt: Long,
    @ColumnInfo(name = "updatedAt") var updatedAt: Long,
    @ColumnInfo(name = "letter") var letter: String = ""
)